/**
 * 通用样式
 *
 */


.thumb-box {
  width: 50px;
  height: 50px;

  img {
    width: 100%;
    height: auto;
    cursor: pointer;
  }
}

// 图片排列
.wrap {
  display: flex;
  align-content: center;
  min-width: 180px;
  align-items: center;

  .info {
    margin-left: 12px;
    flex: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;

    .title {
      display: inline-block;
      white-space: nowrap;
      color: #333;
      max-width: 150px;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    p {
      margin: 0;
      line-height: 2;
    }
  }
}

//样式排列
.group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-gap: 5px;

  p {
    text-align: left;
    margin: 0;
    line-height: 2;
  }
}

.image-box {
  width: 50px;
  height: 50px;

  img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
  }
}

.btn-box {
  display: flex;
  justify-content: space-around;
}

.form-tip {
  color: #909399;
}

.color-tips1 {
  color: #909399;
}

.header {
  display: flex;
  align-items: center;

  > div {
    flex-grow: 0;
    flex-shrink: 0;

    &:not(:last-child) {
      margin-right: 20px;
    }

    > span {
      margin-right: 5px;
    }
  }

  .search {
    display: flex;
    align-items: center;
    height: 30px;

    > div {
      width: 200px;
    }
  }

  [space] {
    flex-grow: 1;
  }
}

.header-box {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  position: relative;

  > div {
    margin-right: 10px;
  }

  .add {
    position: absolute;
    right: 0;
  }
}
